const dns = require('dns');
dns.reverse('114.114.114.114', function(err, domain) {
    console.log(domain)
});

/**
 * 将ip解析为域名
 * [ 'public1.114dns.com' ]
 */